<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>浮动和定位给行内元素带来的现象</title>
	<style type="text/css">
		span{
			/*float: left;
			background-color: red;
			width: 200px;
			height: 200px;*/
			position: fixed;
			background-color: red;
			width: 200px;
			height: 200px;

		}
	</style>
</head>
<body>
	<div></div>
	<span>我是行内</span>

</body>
</html>